Top 10k strings from More v1.4 (1996)(Dominic Morris).z80 in <root> / bin / z80 / software / Sinclair Spectrum Collection TOSEC.exe / Sinclair ZX Spectrum - Games / [Z80] /
Back to the directory listing
1 { If there is a file in memory (even a "short" one), it can
1 z Space - scroll screen down
1 z So I wrote this little program - it's 2.75k (including font), which I've decided to call More, because it looks like the UN*X viewer of the same name (also ported to every machine on the Earth as well I think...), even though it's very cut down...but it works and you can feel free to use it as a standardish text viewer. The following keys are used:
1 y v1.01 Fixed a few bugs, so now the last line of a file is 15.2.96 displayed!! Printing works, and long files no longer
1 y Internet: [email protected]
1 y Dominic Morris
1 x As of v1.01 files shorter than 22 lines can be displayed.
1 w5 u0"E3 u075
1 w PRINT USR 32768:REM [filename of text file you want to view]
1 w Load the text file that you wish to view to address 35000, and then do a RANDOMIZE USR 32768. The program will automatically find the end of the file, or at least it should do. The
1 v NB The viewer doesn't check what file type the file is - it
1 u More now handles Tasword +3 files (ie with LF/CR) so I guess that it now deals with any type of text file, however please note that that the maximum file length is 30536 bytes, and
1 t This program is public domain and may be freely distributed as long as this documentation accompanies the executable file.
1 s PRINT USR 32768: NEW Will clear memory from 35000 - 65535 (and
1 r Unless you're using the +3 method (in which case you'll get
1 r There are 2 methods of using the program, the first works
1 q Q Parameter Error
1 q File types:
1 q Error reports:
1 o If this occurs then there is no file in memory - so you'd
1 n Also known as "Who's a silly boy then" yup, you've tried to
1 m A Invalid Argument
1 j If there is no file in memory then garbage will (probably) be printed out.
1 f Searching for an expression:
1 d As of v1.4 it is now possible to search for an expression withina file. To this enter a / at the More prompt and then enter the expression which you wish to search for. The search is case
1 \ The up and down cursors also scroll the text by one line.
1 \ PRINT USR 32768: PRINT
1 \ Method 2:
1 Y So to solve this I've implemented a couple of commands to
1 W Method 1:
1 V Okay, so I got bored one day, I needed a 64 column text viewer that was quick, and worked, and didn't have to be told how
1 RGD`%@EDW%0T1
1 RE UPuEE UPRU
1 P Oh, for both methods (but especially for 1), you should clear to below 31999.
1 More v1.4 (C) 14.5.96 D.J.Morris
1 MORE.DOC
1 MORE v1.4 INSTRUCTIONS
1 Length: File: !
1 G Modi operandi:
1 E Displaying files with a margin set at >83 will have an undefinedeffect (printing out of these files will be distorted however).
1 D This will load up the file from the disc, place it in memory and start the viewer. NB the filename can include user area
1 A If you wish to change the font then you may, simply load it
1 @ PRINT USR 32768: CLS Clear the memory from 35000 to the end of
1 @ As of v1.3 more now handles 80 column text files (actually up to 83 columns), displaying them as would any other computer, however the characters look very cluttered, but even so the
1 =>?@ABCDEF
1 : WR14 2BW
1 2 [email protected]
1 2 20 Greenhill Drive,
1 - Malvern,
1 ,-./0123456789:;<
1 ( Enter - scroll line down
1 '24`%0B3"u
1 "MORE.DOC"
1 well as the version number display thing.
1 was corrected. The USR : PRINT function was added, as
1 use the +3 method on a computer which isn't a +3!!!
1 upwards I guess!!), so clear to below 31999 for your
1 to hopefully ensure that all of a TW+3 file is read in.
1 to address 34048. Make sure it is a 64 column font, with
1 this command before loading a file then
1 them in any case?!?!?)
1 the file you previously loaded. If you use
1 the character repeated in both sides of the character cell.
1 that characters from the second character set are not displayed.
1 text files. As a result of this the code has extended
1 standard +3 DOS errors), only two errors should be reported
1 so long as it has a +3 DOS style header area. But I think
1 sensitive. If you simply wish to repeat the last search then enter another /
1 really doesn't care, so you could view any kind of file
1 peace of mind!!! Am now reading files in byte by byte
1 p"uWE"P&"
1 only for a +3, but the second works on every machine (but
1 memory is cleared to 65535
1 machine. The 2 memory clearing commands were
1 long a file was, and also gave me an indicator as to how much of the file I'd read...I looked on my discs, but there wasn't one...
1 it may be better to use a text file!
1 is less neat (or at least I think so!!!))
1 implemented to allow this feature to be truly useful.
1 extended downwards again (well it's better than going
1 downwards to 32500, so clear to below this to avoid
1 don't worry, it won't reset your computer)
1 display is just abt readable. More will autodetect which files should be displayed in 80 column mode however each line should end with either a LF (ASCII 10), or CR (ASCII 13), or both!!! Not suprisingly this 80 column mode is a lot slower than the 64 column one, but I hope the inconvenience of this is outweighed by the fact that 80 column texts (ie standard texts from other machines) can now be read.
1 crash!!! (And neither do short files!!!)
1 clear memory:
1 by the program:
1 better load one!!!!
1 be printed out by using the command:
1 and drive.
1 algorithm works by searching for any character code less than 32 or above 143 (excepting LF/CR). So occasionally you may get junk displayed at the end of your file.
1 Well, I got bored of writing letters so I decided to 15.5.96 add the little search routine, sorry, the code has been
1 That's all to be known...have fun with this little program!
1 More v1.4 - 15.5.96
1 Initial release, supplied with DISCDOS v1.12
1 However as soon as the file is displayed the program will
1 Following a phone call to Andy Davies, the dependency 18.2.96 on a +3 is no longer - More should now work on any
1 After hearing the Emulate magazine could be distributed24.4.96 on the Spectrum, More was updated to handle 80 column
1 After a letter from John Cleveland, more now handles 31.3.96 text files which aren't Tasword 2 style. Documention
1 - search for an expression
1 - scroll screen up
1 - scroll screen down
1 - scroll line up
1 - quit back to BASIC
1 - move to top of file
1 - move to end of file
1 - dump the file to the printer
1 - display the version number
1 - display information on current file
1 "nasty" problems!
1 More (%)
1 !`BTERU